package org.com.lcuiot.database.entity;

import io.mybatis.provider.Entity;


/**
 * 设备表
 *
 * @author gaoge
 * @since 2022/10/27 14:19
 */
@Entity.Table("device")
public class Device {


    /**
     * 设备id
     */
    @Entity.Column(id = true)
    private String devId;

    /**
     * 设备名称
     */
    private String devName;

    /**
     * 设备状态上下线标识
     * 0：设备下线
     * 1：设备上线
     */
    private Integer status;


    /**
     * 产品id
     */
    private String productId;

    /**
     * 创建时间
     */
    private Long createAt;

    /**
     * 修改时间
     */
    private Long updateAt;

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId;
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Long createAt) {
        this.createAt = createAt;
    }

    public Long getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Long updateAt) {
        this.updateAt = updateAt;
    }


}
